/*
 * @Author: thl t15945324431@163.com
 * @Date: 2024-04-25 15:40:50
 * @LastEditors: thl t15945324431@163.com
 * @LastEditTime: 2024-04-25 16:54:36
 * @FilePath: \cw_web\gl\src\request\riskControl\index.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react'
//查看举报记录分页
export async function apiGetReportPage(params) {
    return await React.$postJson('/user/api/b/memberReviewRecords/findMemberReviewRecordsPage', params);
}
//申诉记录分页
export async function apiGetAppealPage(params) {
    return await React.$postJson('/user/api/b/MemberAppealRecords/page', params);
}
// 举报详情
export async function apiGetMemberReviewRecordsDetail(params) {
    return await React.$get('/user/api/b/memberReviewRecords/getMemberReviewRecordsDetail?memberReviewRecordsId='+params);
}

// 封禁
export async function apiMemberReviewDispose(params) {
    return await React.$postJson('/user/api/b/memberReviewRecords/reviewDispose', params);
}

// 申诉解封
export async function apiMemberAppealRecordsConfirm(params) {
    return await React.$postJson('/user/api/b/MemberAppealRecords/confirm', params);
}


// 申诉详情
export async function apiMemberAppealRecordsDetail(params) {
    return await React.$post('/user/api/b/MemberAppealRecords/detail', params);
}
//新增举报记录
export async function apiAddReport(params) {
    return await React.$postJson('/user/api/b/memberReviewRecords/addMemberReviewRecords', params);
}
//查看用户封禁记录分页
export async function apiFindUnblockingRecordsByMemberId(params) {
    return await React.$postJson('/user/api/b/memberReviewRecords/findUnblockingRecordsByMemberId', params);
}


// 查看用户正在封禁的功能列表
export async function apiFindBlockingRecordsByMemberIdList(params) {
    return await React.$get('/user/api/b/memberReviewRecords/findBlockingRecordsByMemberIdList?memberId='+params.memberId);
}
//查看用户详情封禁记录分页
export async function apiMemberBlockingAndUnblockingRecordQueryHistoryBanned(params) {
    return await React.$post('/user/api/b/memberBlockingAndUnblockingRecord/queryHistoryBanned', params);
}
// 处理举报时查看用户是否有相关余额(1.有余额 0.没余额)
export async function apiMemberReviewRecordsGetMemberProperty(params) {
    return await React.$post('/user/api/b/memberReviewRecords/getMemberProperty', params);
}

// 数据字典列表
export async function apiDictionaryList(params) {
    return await React.$postJson('/manage/api/b/dictionary/list', params);
}

